package teach.aistar.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import teach.aistar.mapper.ExamineMapper;
import teach.aistar.model.entity.Examine;
import teach.aistar.service.IExamineService;

import java.util.List;

@Service
@Transactional
public class ExamineImpl implements IExamineService {
    @Autowired
    private ExamineMapper examineMapper;
    @Override
    public List<Examine> selectAll() {
        return examineMapper.selectAll();
    }

    @Override
    public Examine selectById(int id) {
        return examineMapper.selectById(id);
    }
}
